﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LaunchMeNot.Core;

namespace LaunchMeNot
{
    /// <summary>
    /// Used during conversion of an entry between startup types.
    /// </summary>
    public class ConvertEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the entry to convert.
        /// </summary>
        /// <value>The entry to convert.</value>
        public IStartupEntry Entry { get; set; }

        /// <summary>
        /// Gets or sets the type to which to convert.
        /// </summary>
        /// <value>The type to which to convert.</value>
        public StartupEntryType TargetType { get; set; }

        public ConvertEventArgs(IStartupEntry entry, StartupEntryType targetType) {
            this.Entry = entry;
            this.TargetType = targetType;
        }
    }
}
